<?php
declare (strict_types = 1);
ini_set('date.timezone','Asia/Shanghai');
// 检测PHP环境
if (version_compare ( PHP_VERSION, '8.3.0', '<' )) die ( 'require PHP >= 8.3.0 !' );
define("__ROOT__",dirname(__FILE__));//项目根目录
define("CONFIG_PATH", dirname(__FILE__) . "/conf/");//配置文件目录
define("PUBLIC_PATH", dirname(__FILE__) . "/public/");//静态资源目录
define("RUNTIME_PATH", dirname(__FILE__) . "/public/runtime/");//运行时目录
define("LOG_PATH", dirname(__FILE__) . "/public/runtime/logs/");
const IS_XHPROF = true;//是否开启xhprof性能分析
require_once "app/app.php";
